import request from '@/utils/request'

// 查询租户复合组件参数版本表列表
export function listTenantComponentParametersVersion(query) {
  return request({
    url: '/business/tenantComponentParametersVersion/list',
    method: 'get',
    params: query
  })
}

// 查询租户复合组件参数版本表详细
export function getTenantComponentParametersVersion(id) {
  return request({
    url: '/business/tenantComponentParametersVersion/' + id,
    method: 'get'
  })
}

// 新增租户复合组件参数版本表
export function addTenantComponentParametersVersion(data) {
  return request({
    url: '/business/tenantComponentParametersVersion',
    method: 'post',
    data: data
  })
}

// 修改租户复合组件参数版本表
export function updateTenantComponentParametersVersion(data) {
  return request({
    url: '/business/tenantComponentParametersVersion',
    method: 'put',
    data: data
  })
}

// 删除租户复合组件参数版本表
export function delTenantComponentParametersVersion(id) {
  return request({
    url: '/business/tenantComponentParametersVersion/' + id,
    method: 'delete'
  })
}
